package org.dynamo.database.reverse.config.internal.log;


public class Log {
	private static final boolean debug = false;
	private String className;
	public static Log getLog(Class<?> class_) {
		return new Log(class_.getSimpleName());
	}
	
	private Log(String className)
	{
		this.className = className;
	}

	public void info(String string) {
		System.out.println("I - "+this.className+" - "+string);		
	}

	public void debug(String string) {
		if(debug)
			System.out.println("D - "+this.className+" - "+string);	
	}

	public void error(String string) {
		System.err.println("E - "+this.className+" - "+string);
	}
}
